class UserAccountEntity {
  //资金账户余额+
  String capitalAccount = "";
  //积分账户余额+
  String integralAccount = "";
  //总余额+
  String allAccount = "";
  String dsAllAcct = ""; //总金额
  String dsFuliAcct = ""; //电商福利金
  String dsZtAcct = ""; //直推奖

  //复购券账户余额
  String reBuyQuanAcct;
  //福利金账户余额
  String fuliAcct = "";
  //能量券账户
  String nlqAcct = "";
  //积分账户
  String jfAcct = "";

  //推广星级
  String starLevel = "";
  //销售星级")
  String shopStar = "";
  //津贴
  String jinTieAcct = "";
  //是否取现保底解锁
  String hadFreeGm = 'N';

  //是否取现保底解锁名称
  String hadFreeGmName = "未解锁";

  //推广星级名称
  String starLevelName = "";
  //销售星级名称
  String shopStarName = "";

  String dsGgNoDoCt = '';
  String djqAcct = '';
  String canUpMycommoCt = '';
  String groupJtAcct = '';

  UserAccountEntity(
      {this.capitalAccount,
      this.shopStar,
      this.starLevelName,
      this.shopStarName,
      this.hadFreeGm,
      this.hadFreeGmName,
      this.jinTieAcct,
      this.starLevel,
      this.fuliAcct,
      this.dsFuliAcct,
      this.dsZtAcct,
      this.nlqAcct,
      this.dsAllAcct,
      this.jfAcct,
      this.integralAccount,
      this.allAccount,
      this.dsGgNoDoCt,
      this.djqAcct,
      this.canUpMycommoCt,
      this.groupJtAcct,
      this.reBuyQuanAcct});

  UserAccountEntity.fromJson(Map<String, dynamic> json) {
    capitalAccount = json['capitalAccount'];
    integralAccount = json['integralAccount'];
    allAccount = json['allAccount'];
    dsAllAcct = json['dsAllAcct'];
    reBuyQuanAcct = json['reBuyQuanAcct'];
    fuliAcct = json['fuliAcct'];
    dsFuliAcct = json['dsFuliAcct'];
    dsZtAcct = json['dsZtAcct'];
    nlqAcct = json['nlqAcct'];
    jfAcct = json['jfAcct'];
    starLevel = json['starLevel'];
    jinTieAcct = json['jinTieAcct'];
    hadFreeGm = json['hadFreeGm'];
    dsGgNoDoCt = json['dsGgNoDoCt'];
    djqAcct = json['djqAcct'];
    canUpMycommoCt = json['canUpMycommoCt'];
    groupJtAcct = json['groupJtAcct'];
    hadFreeGmName = json['hadFreeGmName'];

    shopStar = json['shopStar'];
    starLevelName = json['starLevelName'];
    shopStarName = json['shopStarName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['capitalAccount'] = this.capitalAccount;
    data['integralAccount'] = this.integralAccount;
    data['allAccount'] = this.allAccount;
    data['reBuyQuanAcct'] = this.reBuyQuanAcct;
    data['fuliAcct'] = this.fuliAcct;
    data['nlqAcct'] = this.nlqAcct;
    data['jfAcct'] = this.jfAcct;
    data['starLevel'] = this.starLevel;
    data['jinTieAcct'] = this.jinTieAcct;
    data['hadFreeGm'] = this.hadFreeGm;
    data['dsAllAcct'] = this.hadFreeGmName;
    data['dsFuliAcct'] = this.hadFreeGmName;
    data['dsZtAcct'] = this.hadFreeGmName;
    data['hadFreeGmName'] = this.hadFreeGmName;

    data['shopStar'] = this.shopStar;
    data['starLevelName'] = this.starLevelName;
    data['shopStarName'] = this.shopStarName;
    return data;
  }
}
